package com.party.core.dao.read.commune;

import com.party.core.dao.read.BaseReadDao;
import com.party.core.model.commune.CDataAnalysisDetail;
import com.party.core.model.commune.CDataAnalysisDetailOutput;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @program: party
 * @description: 管理员分社关系数据读取
 * @author: Hua Qunhao
 * @create: 2020-03-24 09:50
 **/
@Repository
public interface CDataAnalysisDetailReadDao extends BaseReadDao<CDataAnalysisDetail> {
    CDataAnalysisDetail getCDataAnalysisDetailByMemberGroupId(@Param("memberGroupId") String memberGroupId, @Param("params")Map<String,Object> params);
    CDataAnalysisDetailOutput sumOrg(@Param("params") Map<String,Object> params);
    List<CDataAnalysisDetailOutput> sumOrgList(@Param("params") Map<String,Object> params);
}
